package com.crm.dao.mapper.workOrderManager;

import com.crm.model.entity.workOrderManager.WorkOrderCreditDeductRecord;
import com.crm.model.entity.workOrderManager.WorkOrderCreditDeductRecordExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WorkOrderCreditDeductRecordMapper {
    long countByExample(WorkOrderCreditDeductRecordExample example);

    int deleteByExample(WorkOrderCreditDeductRecordExample example);

    int deleteByPrimaryKey(String creditDeductId);

    int insert(WorkOrderCreditDeductRecord record);

    int insertSelective(WorkOrderCreditDeductRecord record);

    List<WorkOrderCreditDeductRecord> selectByExample(WorkOrderCreditDeductRecordExample example);

    WorkOrderCreditDeductRecord selectByPrimaryKey(String creditDeductId);

    int updateByExampleSelective(@Param("record") WorkOrderCreditDeductRecord record, @Param("example") WorkOrderCreditDeductRecordExample example);

    int updateByExample(@Param("record") WorkOrderCreditDeductRecord record, @Param("example") WorkOrderCreditDeductRecordExample example);

    int updateByPrimaryKeySelective(WorkOrderCreditDeductRecord record);

    int updateByPrimaryKey(WorkOrderCreditDeductRecord record);
}